package com.globallogic.backingbean;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import com.globallogic.bean.HelloBean;

@ManagedBean(name = "userBean")
@SessionScoped
public class UserBean {
	private String name;

	 @EJB
	private HelloBean bean;

	public String getName() {
		System.out.println("in qetName_userBean__________________________");
		return name = bean.getName();
	}

	public void setName(String name) {
		this.name = name;
	}

}
